[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
     unlink(LIST)

     unlink LIST

             Deletes a list of  files.   Returns  the  number  of
             files  successfully  deleted.   (MS-DOS users should
             note that open files cannot be deleted.)

                  $cnt = unlink 'a', 'b', 'c';
                  unlink @goners;
                  unlink <*.bak>;

             Note: unlink will not delete directories unless  you
             are  superuser  and the -U flag is supplied to perl.
             Even if these conditions are  met,  be  warned  that
             unlinking  a  directory  can  inflict damage on your
             filesystem.  Use rmdir instead.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson